package com.fishery.processing.handler;

import com.fishery.entity.Result;
import com.fishery.processing.client.BaseClient;
import org.springframework.stereotype.Component;

/**
 * @author run
 * @since 2021/3/13 11:21
 */
@Component
public class BaseClientFallback implements BaseClient {

    @Override
    public Result getBaseMessage(String baseId) {
        return Result.error("基地服务繁忙，信息获取失败");
    }
}
